package com.morningstar.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

/**
 * @className: RestTemplateBean
 * @description: TODO 类描述
 * @author: LiuZhenHe
 * @date: 2023/10/16 14:59
 **/
@Component
public class CommonBean {

    @Bean
    public RestTemplate initRestTemplate(){
        return new RestTemplate();
    }
}
